#include <stdio.h>
#include "../header/ex3.1_platinum.h"

void ex3_1_platinum() {
	float weight;
	float value;
	
	printf("Are you worth you weight in platinum?\n");
	printf("Let's check it out.\n");
	printf("Please enter your weight in pounds: ");
	
	/* read input */
	scanf("%f", &weight);
	
	/* suppose the price of platinum is $1700 */
	/* 14.5833 is the variance of oz and oz.tr */
	value = 1700.0 * weight * 14.5833;
	printf("Your weight in platinum is worth $%.2f.\n", value);
	printf("You are easily worth that! If platinum pricess drop, \n");
	printf("eat more to maintain you value.\n"); 
}
